package net.adetech.code;

import com.alibaba.fastjson.JSONObject;

import java.util.List;


/**
 * Created by sunfeihu on 2017/4/17.
 */
public class DBEntity {

    //表名
    private String tableName;

    private String system;

    private String module;

    private String insertField;

    private String insertQField;

    private String updateField;

    private List<JSONObject> fieldsNoId;

    private List<JSONObject> fieldsNoDefault;

    //包名
    private String packageName;

    //匈牙利名
    private String hungarianNotationName;

    //驼峰命名
    private String camelCaseName;

    //帕斯卡命名
    private String pascalName;

    //Restful名
    private String fodlerName;

    //匈牙利名字段及其数据类型
    private JSONObject hungarianNotationFields;

    //驼峰命名字段及其数据类型
    private JSONObject camelCaseFields;

    //帕斯卡命名字段及其数据类型
    private JSONObject pascalFields;

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getHungarianNotationName() {
        return hungarianNotationName;
    }

    public void setHungarianNotationName(String hungarianNotationName) {
        this.hungarianNotationName = hungarianNotationName;
    }

    public String getCamelCaseName() {
        return camelCaseName;
    }

    public void setCamelCaseName(String camelCaseName) {
        this.camelCaseName = camelCaseName;
    }

    public String getPascalName() {
        return pascalName;
    }

    public void setPascalName(String pascalName) {
        this.pascalName = pascalName;
    }

    public String getFodlerName() {
        return fodlerName;
    }

    public void setFodlerName(String fodlerName) {
        this.fodlerName = fodlerName;
    }

    public JSONObject getHungarianNotationFields() {
        return hungarianNotationFields;
    }

    public void setHungarianNotationFields(JSONObject hungarianNotationFields) {
        this.hungarianNotationFields = hungarianNotationFields;
    }

    public String getSystem() {
        return system;
    }

    public void setSystem(String system) {
        this.system = system;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public JSONObject getCamelCaseFields() {
        return camelCaseFields;
    }

    public void setCamelCaseFields(JSONObject camelCaseFields) {
        this.camelCaseFields = camelCaseFields;
    }

    public JSONObject getPascalFields() {
        return pascalFields;
    }

    public void setPascalFields(JSONObject pascalFields) {
        this.pascalFields = pascalFields;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getInsertField() {
        return insertField;
    }

    public void setInsertField(String insertField) {
        this.insertField = insertField;
    }

    public String getInsertQField() {
        return insertQField;
    }

    public void setInsertQField(String insertQField) {
        this.insertQField = insertQField;
    }

    public String getUpdateField() {
        return updateField;
    }

    public void setUpdateField(String updateField) {
        this.updateField = updateField;
    }

    public List<JSONObject> getFieldsNoId() {
        return fieldsNoId;
    }

    public void setFieldsNoId(List<JSONObject> fieldsNoId) {
        this.fieldsNoId = fieldsNoId;
    }

    public List<JSONObject> getFieldsNoDefault() {
        return fieldsNoDefault;
    }

    public void setFieldsNoDefault(List<JSONObject> fieldsNoDefault) {
        this.fieldsNoDefault = fieldsNoDefault;
    }
}